@import 'assets/scss/index.scss';
.navmedia-sort {
  border-left: .02rem solid;
  @include border-line();
  margin: -.06rem 0 0 .06rem;
  .sort-box {
    padding: 0 .1rem 0 .28rem;
    position: relative;
    @include border-main();
    .sort-content {
      min-width: 2.24rem;
      border-radius: .16rem;
      @include background-card();
      box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
      position: absolute;
      right: 0;
      top: 175%;
    }
    .p1 {
      font-size: .24rem;
      @include font-main();
      .iconfont {
        @include font-main();
        transition: all .2s;
        font-size: .24rem;
        margin: 0 0 0 .06rem;
        transform: scale(.7);
        &.open {
          transform: scale(.7) rotateZ(180deg);
        }
      }
    }
    .sort-item {
      width: 1.6rem;
      font-size: .28rem;
      height: .88rem;
      @include font-sub();
      position: relative;
      &:after {
        content: '';
        width: 100%;
        height: .02rem;
        position: absolute;
        left: 0;
        bottom: 0;
        @include background-main();
        opacity: .3;
      }
      &.no-border {
        &:after {
          content: '';
          width: 0;
        }
      }
      &.active {
        @include font-tip();
      }
      .iconfont {
        font-size: .2rem;
        @include font-tip();
      }
    }
    .split {
      width: 100%;
      height: .1rem;
      @include background-main();
    }
  }
}
.navmedia-sort--business--pushionly {
  margin: -.06rem 0 0 .2rem;
  position: relative;
  &:before {
    position: absolute;
    left: 0rem;
    top: 0rem;
    content: '';
    width: 0;
    height: 0.34rem;
    border-right: 2px solid;
    @include border-line();
    transform: rotate(35deg);
    border-radius: 50%;
  }
  &.interaction {
    position: static;
    &:before {
      border: none;
    }
  }
  .sort-box {
    padding: 0 .1rem 0 .28rem;
    position: relative;
    @include border-main();
    .sort-content {
      min-width: 2.24rem;
      border-radius: .16rem;
      @include background-card();
      box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
      position: absolute;
      right: 0;
      top: 175%;
    }
    .p1 {
      font-size: .24rem;
      @include font-main();
      .iconfont {
        @include font-main();
        transition: all .2s;
        font-size: .24rem;
        margin: 0 0 0 .06rem;
        transform: scale(.7);
        &.open {
          transform: scale(.7) rotateZ(180deg);
        }
      }
    }
    .sort-item {
      width: 1.6rem;
      font-size: .28rem;
      height: .88rem;
      @include font-sub();
      position: relative;
      &:after {
        content: '';
        width: 100%;
        height: .02rem;
        position: absolute;
        left: 0;
        bottom: 0;
        @include background-main();
        opacity: .3;
      }
      &.no-border {
        &:after {
          content: '';
          width: 0;
        }
      }
      &.active {
        @include font-tip();
      }
      .iconfont {
        font-size: .2rem;
        @include font-tip();
      }
    }
    .split {
      width: 100%;
      height: .1rem;
      @include background-main();
      opacity: .1;
    }
  }
}
